Use this procedure/function to remove a subform from a form.
DelSubform (subform, Form, Group)
Parameter |
Description |
Defaults |
---|---|---|
subform |
The name of the subform to be deleted. . . |
No Default |
Form |
Name of a form within the form set. |
the current form |
Group |
Name of a group to contain the specified form |
The current group. |
The system optionally returns one (1) on success or zero (0) on failure.
This procedure removes the sections within the specified subform from the form including the subform's begin and end sections.
If the deleted sections leave the page empty, the system also removes the page from the form.
Removing subform sections means that all data associated with those sections will be lost.
Here are some examples:
Procedure |
Result |
Explanation |
DelSubform( "SF") ) |
1 or 0 |
Delete the sections from the specified subform("SF") from the current form . |
DelSection( "SF\3", ,"GRP" ) |
1 or 0 |
Delete sections in the third occurrence of the subform "SF" in the group "GRP: . |
© Copyright 2015, Oracle and/or its affiliates. All rights reserved. Legal notices.